﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>四川省辽宁商会</title>

		<link rel="shortcut icon" href="image/favicon.ico" type="image/x-icon" />
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<link rel="stylesheet" href=" css/index.css">
		<link rel="stylesheet" href=" css/top.css">

		<link rel="stylesheet" type="text/css"
			href="common/front/style/style.css" />
		<script src="common/front/js/jquery-1.11.3.min.js"></script>
		<script src="common/front/js/bootstrap.min.js"></script>
		<link rel="stylesheet"
			href=" framework/bootstrap-3.0.0/css/bootstrap.css">
		<link rel="stylesheet"
			href=" framework/bootstrap-3.0.0/css/bootstrap.min.css">
		<link rel="stylesheet"
			href=" framework/bootstrap-3.0.0/css/bootstrap-theme.css">
		<link href=" framework/bootstrap-3.0.0/css/bootstrap-combined.min.css"
			rel="stylesheet">
		<script type="text/javascript" src=" js/jquery.js"></script>
		<meta http-equiv=“X-UA-Compatible” content=“IE=7″>
		<meta http-equiv=“X-UA-Compatible” content=“IE=8″>
		<!–[if lt IE 7]>
		<script
			src=”http://ie7-js.googlecode.com/svn/version/2.0(beta)/IE7.js”
			type=”text/javascript”></script>
		<![endif]–>

		<!–[if lt IE 8]>
		<script
			src=”http://ie7-js.googlecode.com/svn/version/2.0(beta)/IE8.js”
			type=”text/javascript”></script>
		<![endif]–>

		<!–[if lt IE 9]>
		<script
			src=”http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js”></script>
		<![endif]–>

		<style type="text/css">
a {
	text-decoration: none;
	color: black !important;
	font-size: 14px;
}

a:hover {
	text-decoration: none;
	color: #008fd7 !important;
}

#news {
	height: 55px;
	overflow: hidden;
}
</style>
		<script>
	window.onload = function() {
		var text = document.getElementById('txt'), str = text.innerHTML, textLeng = 200;
		if (str.length > textLeng) {
			text.innerHTML = str.substring(0, textLeng) + "......";
		}
		var obj = document.getElementById('news');
    	var total_height =  obj.scrollHeight;//文章总高度
    	var show_height = 30;//定义原始显示高度
	}
	}
	function shows(ul) {
		var submenu = ul.getElementsByTagName('li')[0];
		submenu.style.background = "#008fd7";
		submenu.style.color = "white";
	}
	function hidess(ul) {
		var submenu = li.getElementsByTagName('li')[0];
		submenu.style.background = "white";
		submenu.style.color = "black";
	}
</script>
	</head>
	<body style="background-color: #fff; font-family: Microsoft YaHei;">
		<div style="top: 0px;"><jsp:include page="top.jsp"></jsp:include></div>
		<div class="show5">
			<div style="margin-left: 1.5%; margin-top: 1.5%;">
				<a href="front/index"> 网站首页</a> >
				<a href="front/xinwen">联系我们</a>
				<br>
				<br>
			</div>
			<div class="showx">

				<c:forEach items="${map}" var="lx">
					<img alt="" src="${lx.imgurl }">
				</c:forEach>

			</div>
			<div class="showx" style="">
				<div class="hei" style="margin-top: 0px; height: 300px">
					<table width="100%">
						<tr>
							<td>
								<div class="title">
									联系方式
								</div>

							</td>
						</tr>
					</table>

					<div>
						<c:forEach items="${contact}" var="te">
							<div>
								<img alt="" src="image/1.png" style="margin: 2%;">
								${te.adress }
								<br />
							</div>
							<div>
								<img alt="" src="image/2.png" style="margin: 2%;">
								${te.phone }
								<br />
							</div>
							<div>
								<img alt="" src="image/4.png" style="margin: 2%;">
								${te.email }
							</div>
						</c:forEach>
					</div>

				</div>
				<div class="zn" style="margin-top: 0px; height: 300px">
					<table width="100%">
						<tr>
							<td>
								<div class="title">
									问题反馈
								</div>

							</td>
						</tr>
					</table>
					<br>
					<div>
						<form action="front/addmes" accept-charset="UTF-8" name="example"
							method="post">
							姓名：
							<input type="text" name="name" placeholder="姓名"
								style="height: 30px; background-color: transparent; color: gray;" />
							邮箱：
							<input type="text" name="email" placeholder="邮箱"
								style="height: 30px; background-color: transparent; color: gray;" />
							<br>
							反馈：
							<textarea rows="5" cols="8"
								style="width: 100%; background-color: transparent; color: gray;"
								name="content" placeholder="说点什么..."></textarea>
							<input type="submit" value="提交你的需求"
								style="float: right; background-color: #008fd7; background-image: linear-gradient(to bottom, #008fd7, #008fd7);"
								class="btn  btn-info btn-xs info" />
						</form>
					</div>
				</div>
			</div>


		</div>
		<div class="footer"><jsp:include page="bottom.jsp" flush="true"></jsp:include></div>
	</body>

</html>
